package com.ddtech.business.train.query;

import com.ddtech.business.train.entity.TrainGrade;
import com.ddtech.mybatisplus.annotaion.Eq;
import com.ddtech.mybatisplus.annotaion.Like;
import com.ddtech.mybatisplus.annotaion.OrderBy;
import com.ddtech.mybatisplus.enums.OrderByEnum;
import com.ddtech.mybatisplus.query.WebAbstractQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @version v1.0
 * @ClassName:TrainGradeQuery description：
 * @author:wei_zhang(xiao)
 * @date: 2023-12-28 21:26
 */
@Data
public class TrainGradeQuery extends WebAbstractQuery<TrainGrade> {

    @Eq
    @ApiModelProperty("用户id")
    private String userId;

    @Like
    @ApiModelProperty("用户名称")
    private String userName;

    @OrderBy(orderBy= OrderByEnum.DESC)
    @ApiModelProperty(value = "排序时间")
    private Date createTime;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("部门ID")
    private String deptId;

}
